home *** CD-ROM | disk | FTP | other *** search
/ Fritz: All Fritz / All Fritz.zip / All Fritz / FILES / MEDIALTH / HEART.LZH / DEMO.TXT < prev    next >
Text File  |  1986-03-12  |  9KB  |  428 lines

  1. \DOS AT END OFF
  2. \SCREEN 1,0
  3. \MOVE 0 TO #999
  4. \ONKEY F1 HELP
  5. \ONKEY 9064 HORSES
  6. \ONKEY 7777 AIRFOIL
  7. \ONKEY 9032 HORSES
  8. \ONKEY 7745 AIRFOIL
  9. \ONKEY 8260 BEGIN
  10. \ONKEY 8292 BEGIN
  11. \X BEGIN
  12. \ONKEY 18688
  13. \ONKEY 20736
  14. \ONKEY 7181 KITTY
  15. \READ RUSSPROD.FON
  16. \LOC 76,0\WID 11\HEI 16\OVE 0
  17. \BLANK 0,0,320,200
  18. PROGRAM BY
  19. \LOC 100,36\WID 7
  20. RUSSELL
  21. \LOC 100,71\HEI 120\OVE 0
  22. HOFFMAN
  23. \"
  24. \ROUNDS 4 SPEED 1111
  25. \WAIT LIMIT 9
  26. \LOC 0,154\WID 20\HEI 99\OVE 0
  27. PRESS F1 ANYTIME FOR
  28.        HELP.
  29. \READ USAEAGLE.PIC
  30. \MARQUE 99,34,210,88,2
  31. \ONKEY 7181 KITTY
  32. \SHOW 92,100,1,7
  33. \X KITTY
  34. \ONKEY 7181 HORSES
  35. \WAIT LIMIT 444
  36. \LOC 72,0\WID 11\HEI 90\SCRO 0
  37. \"
  38. \"
  39. \LOC 32,106\WID 17\HEI 16\OVE 66
  40. \BLANK 40,93,200,107
  41. ANIMAL MOTION IS
  42. \LOC 0,124\WID 20
  43. \BLANK 40,122,200,123
  44. TRACED FROM EADWEARD
  45. \LOC 8,142\WID 20
  46. \BLANK 0,139,319,143
  47. MUYBRIDGE'S ANIMALS
  48. \LOCATE 8,160
  49. \BLANK 0,158,319,161
  50.  IN MOTION,  DOVER
  51. \LOCATE 8,178
  52. \BLANK 0,176,319,180
  53. PUB., INC. NEW YORK
  54. \READ CATGALOP.PIC
  55. \BLANK 80,0,222,100
  56. \ROUNDS 8 SPEED 400
  57. \SHOW 108,28,1,12
  58. \X HORSES
  59. \READ ANNIEGW6.PIC
  60. \DOT 0,0,0
  61. \PAINT
  62. \READ RUSSPROD.FON
  63. \BLANK 0,0,320,200
  64. \ONKEY 18688 HORSES
  65. \ONKEY 20736
  66. \ONKEY 7181 SKIP1
  67. \LOC 0,40\HEI 118\WID 20\SCRO 0
  68. IN THE LATE 1800'S
  69. EADWEARD MUYBRIDGE
  70. IS SAID TO HAVE
  71. SETTLED A FAMOUS
  72. WAGER AS TO
  73. WHETHER OR NOT A
  74. HORSES'S HOOFS ARE
  75. EVER ALL OFF THE
  76. GROUND WHEN A HORSE
  77. TROTS.  FOLLOWING
  78. ARE FOUR GAITS,
  79. GALLOPING, TROTTING,
  80. PACING AND CAN-
  81. TERING.  THESE
  82. TRACINGS, TAKEN
  83. FROM EADWEARD
  84. MUYBRIDGE'S PHOTO-
  85. GRAPHS, SHOW THAT
  86. FOR ALL THESE
  87. GAITS, THE HORSE
  88. LEAVES THE GROUND
  89. ENTIRELY AT SOME
  90. POINT(S) IN THE
  91. STRIDE.  MUYBRIDGE'S
  92. FRIEND WON THE BET.
  93. \"
  94. \"
  95. \"
  96. \"
  97. \"
  98. \"
  99. \"
  100. \JUMP SKIP3
  101. \X SKIP1
  102. \BL 0,0,320,200
  103. \ONKEY 7181
  104. \ONKEY 20736
  105. \X SKIP3
  106. \ONKEY 18688
  107. \READ RUSSPROD.FON
  108. \READ ANNIEGW6.PIC
  109. \ONKEY 8968 AGAIN
  110. \OVE 0 \WID 9
  111. \X PIC1
  112. \ONKEY 18688 PIC4
  113. \ONKEY 7181 PIC2
  114. \ONKEY 20736 PIC2
  115. \READ ANNIEGW6.PIC
  116. \ROUNDS 8 SPEED 344
  117. \LOCATE 12,82
  118. \DISPLAY "GALLOPING"
  119. \SHOW 26,6,1,15
  120. \ROUNDS 8 SPEED 314
  121. \X PIC2
  122. \ONKEY 18688 PIC1
  123. \ONKEY 7181 PIC3
  124. \ONKEY 20736 PIC3
  125. \LOCATE 177,82
  126. \READ DAISYTRT.PIC
  127. \DISPLAY "TROTTING"
  128. \SHOW 188,6,1,16
  129. \X PIC3
  130. \ONKEY 18688 PIC2
  131. \ONKEY 7181 PIC4
  132. \ONKEY 20736 PIC4
  133. \ROUNDS 8 SPEED 344
  134. \READ PRONTOPC.PIC
  135. \LOCATE 28,182
  136. \DISPLAY "PACING"
  137. \SHOW 28,104,1,19
  138. \X PIC4
  139. \ONKEY 20736 PIC1
  140. \ONKEY 18688 PIC3
  141. \ONKEY 7181 AGAIN
  142. \ROUNDS 8 SPEED 414
  143. \READ ANNIECNT.PIC
  144. \LOCATE 162,182
  145. \DISPLAY "CANTERING"
  146. \SHOW 178,102,1,11
  147. \WAIT NOW 23333
  148. \X AGAIN
  149. \READ RUSSPROD.FON
  150. \ONKEY 20736
  151. \ONKEY 18688
  152. \ONKEY 8968 SKIP1
  153. \ONKEY 7181 NEXT1
  154. \READ RUSSPROD.FON
  155. \LOC 0,0\WID 20\HEI 200\OVE 0
  156. TO SEE ANY OF THESE
  157.   SEQUENCES AGAIN,
  158.  PRESS 1,2,3, OR 4.
  159.   (DO NOT USE THE
  160.   NUMERIC KEYPAD).
  161.     1--GALLOPING
  162.     2--TROTTING
  163.     3--PACING
  164.     4--CANTERING
  165.  END-PRESS RETURN `
  166. \"
  167. \BLANK 0,180,319,199
  168. \WAIT LIMIT 75
  169. \MARQUE 61,85,257,152,3
  170. \WAIT LIMIT 666
  171. \MOVE B TO W
  172. \ONKEY 7181 AGAIN
  173. \ROUNDS 22 SPEED 313
  174. \IF B=65535
  175. \JUMP NEXT1
  176. \ENDIF
  177. \IF B=7181
  178. \JUMP NEXT1
  179. \ELSE
  180. \BLANK 0,0,320,152
  181. \LOCATE 0,172\HEI 44\OVE 0
  182. SPEED-HOLD ARROWS ^_
  183. \ENDIF
  184. \IF B=561
  185. \READ ANNIEGW6.PIC
  186. \SHOW 100,30,1,15
  187. \JUMP AGAIN
  188. \ENDIF
  189. \IF B=818
  190. \READ DAISYTRT.PIC
  191. \SHOW 110,30,1,16
  192. \JUMP AGAIN
  193. \ENDIF
  194. \IF B=1075
  195. \READ PRONTOPC.PIC
  196. \SHOW 102,30,1,19
  197. \JUMP AGAIN
  198. \ENDIF
  199. \IF B=1332
  200. \READ ANNIECNT.PIC
  201. \SHOW 102,30,1,11
  202. \ENDIF
  203. \JUMP AGAIN
  204. \X NEXT1
  205. \BL 0,0,320,200
  206. \ONKEY 7181
  207. \READ SMALLGRN.FON
  208. \ONKEY 7181 SKIP6
  209. \ONKEY 8968 SKIP1
  210. \LOCATE 0,12\HEI 187\WID 24\OVE 0
  211. Computer graphics are
  212. usually either RASTER
  213. images or VECTOR images.
  214. Raster images can be
  215. thought of as an elec-
  216. tronic sheet of paper --
  217. anything you draw on the
  218. paper can be displayed
  219. later.  Vector images
  220. can be thought of as the
  221. dots in a connect-the-
  222. -dots drawing.  The
  223. computer can connect
  224. the dots with line seg-
  225. ments if desired.
  226. \READ MANRUNNG.PIC
  227. \SHOW 216,4,12
  228. \DRAW J206,2,C1,R106,D90,L106,U90
  229. \DRAW J204,0,C2,R110,D94,L110,U94
  230. \LOC 200,95\HEI 84\WID 15
  231. \SCROLL 0,X,3
  232.   The drawing
  233.   above is a
  234.  raster image,
  235.  but the lines
  236.  around it are
  237.    done with
  238.    vectors.
  239. \WAIT RETURN 4211
  240. \X SKIP6
  241. \READ SMALLGRN.FON
  242. \ONKEY 7181 CONT1
  243. \LOC 0,0\HEI 187\WID 24\OVE 0
  244. In order to animate a
  245. raster image, all one
  246. needs to do is draw
  247. the individual frames
  248. that are needed for
  249. the animation.  The
  250. process is just like
  251. making cartoons, ex-
  252. cept you do not need
  253. to redraw the whole
  254. page (screen) if you
  255. don't want to--and,
  256. of course, you can
  257. change, redraw, re-
  258. color, etc. as often
  259. as you like.
  260. \LOC 200,96\WID 15\HEI 88
  261. \SCROLL 0,X,3
  262.  This image of
  263.  a man running
  264.  uses 11 sepa-
  265.  rate frames,
  266.  and is shown
  267.  with a brief
  268.  pause between
  269.  each one.
  270. \LOC 0,188\WID 40\OVE 0
  271. Press the "return" key to continue...
  272. \ONKEY 7181 CONT1
  273. \ROUNDS 92 SPEED 444
  274. \READ MANRUNNG.PIC
  275. \SHOW 216,4,2,12
  276. \X CONT1
  277. \X AIRFOIL
  278. \ONKEY 7181
  279. \ONKEY 18688
  280. \ONKEY 20736
  281. \READ AIRFOIL5.PIC
  282. \READ RUSSPROD.FON
  283. \DOT 0,0,0
  284. \PAINT
  285. \BLANK 0,0,319,36
  286. \BLANK 300,0,319,36
  287. \LOC 8,0\WID 19\HEI 200\OVE 0
  288.   HOW AN AIRPLANE
  289. \LOC 12,20\WID 18\OVE 0
  290. \BLANK 0,16,319,20
  291. WING PROVIDES LIFT
  292. \BLANK 0,36,320,98
  293. \SHOW 80,76,1
  294. \READ SMALLGRN.FON
  295. \LOC 0,42\WID 28\HEI 12
  296. \SCROLL 0,X,3
  297. Direction of Foward Movement
  298. \DRAW C3J5,63,R212G5U1E5H5D1F4L211
  299. \LOC 222,68\WID 7\HEI 24
  300. \SCROLL 0,X,2
  301. LEADING
  302.  EDGE
  303. \LOC 8,68\WID 8
  304. TRAILING
  305.   EDGE
  306. \LOC 0,98\WID 40\HEI 120\OVE 0
  307. This cross-section view of an airplane
  308. wing shows that the wing bulges at the
  309. top near the front and then tapers to a
  310. point at the back.  This shape causes
  311. air to flow in a manner that creates
  312. lower pressure on the top, which effec-
  313. tively "pulls" the wing up.
  314. \BLANK 0,175,319,200
  315. \WAIT RETURN 4444
  316. \BLANK 8,68,71,92
  317. \BLANK 220,69,275,92
  318. \LOC 0,100\WID 40\HEI 100\OVE 0
  319. When the airplane is moving very slowly,
  320. as when taxiing or starting its takeoff
  321. run, even pressure is exerted above and
  322. below the wing and therefore it cannot
  323. lift the airplane.  Here, greatly en-
  324. larged air molecules are shown passing
  325. over and under the wing.
  326. \LOC 0,182\HEI 12\OVE 0
  327. Press the "return" key to continue...
  328. \CLEAR SPRITES
  329. \ROUNDS 1111 SPEED 0
  330. \SPRITE P=3,1 T=R X=A L=-7,-5
  331. \SPRINT [2]
  332. \SPRITE P=4,29 \SPRINT [2]
  333. \SPRITE P=3,59 \SPRINT [2]
  334. \SPRITE P=4,89 \SPRINT [2]
  335. \SPRITE P=3,119 \SPRINT [2]
  336. \SPRITE P=4,149 \SPRINT [2]
  337. \SPRITE P=3,179 \SPRINT [2]
  338. \SPRITE P=4,209 \SPRINT [2]
  339. \SPRITE P=3,239 \SPRINT [2]
  340. \SPRITE P=4,279 \SPRINT [2]
  341. \ONKEY 7181 CONT4
  342. \RUN
  343. \X CONT4
  344. \ONKEY 7181
  345. \BLANK 0,68,79,99
  346. \BLANK 80,69,200,75
  347. \SHOW 80,76,1
  348. \BLANK 80,92,200,99
  349. \BLANK 200,69,319,99
  350. \LOC 0,100\WID 40\HEI 100\OVE 0
  351. The air passing over the wing travels
  352. further and faster than the air which
  353. passes under the wing.  As the airplane
  354. picks up speed, this causes the pressure
  355. on top to be lower than on the bottom.
  356. The wing "pulls" in the direction of the
  357. lower pressure, lifting the airplane.
  358. \LOC 0,182\HEI 12\OVE 0
  359. Press the "return" key to continue...
  360. \LOC 240,42\WID 9\HEI 24
  361. \SCROLL 0,X,3
  362. Direction
  363.  of lift
  364. \DRAW J234,41C3F4D1H5L1G5U1E5D27R1U27
  365. \CLEAR SPRITES
  366. \ROUNDS 1444 SPEED 0
  367. \SPRITE P=5,1 T=R X=A L=-5,-7
  368. \SPRINT [2]
  369. \SPRITE P=6,19 \SPRINT [2]
  370. \SPRITE P=5,39 \SPRINT [2]
  371. \SPRITE P=6,59 \SPRINT [2]
  372. \SPRITE P=5,79 \SPRINT [2]
  373. \SPRITE P=6,99 \SPRINT [2]
  374. \ONKEY 7181 CONT5
  375. \RUN
  376. \X CONT5
  377. \ONKEY 7181
  378. \BLANK 0,68,79,99
  379. \BLANK 80,69,200,75
  380. \SHOW 80,76,1
  381. \BLANK 80,92,200,99
  382. \BLANK 200,69,319,99
  383. \LOC 0,100\WID 40\HEI 100\OVE 0
  384. It should be noted that the propeller or
  385. jet engine serves merely to move the
  386. wing (and the airplane) foward through
  387. the air, but they do NOT provide the
  388. lift.  The distinctive shape of the wing
  389. --known as an AIRFOIL--is what causes
  390. the airplane to fly.
  391. \CLEAR SPRITES
  392. \ROUNDS 1444 SPEED 0
  393. \SPRITE P=5,1 T=R X=A L=-5,-7
  394. \SPRINT [2]
  395. \SPRITE P=6,19 \SPRINT [2]
  396. \SPRITE P=5,39 \SPRINT [2]
  397. \SPRITE P=6,59 \SPRINT [2]
  398. \SPRITE P=5,79 \SPRINT [2]
  399. \SPRITE P=6,99 \SPRINT [2]
  400. \ONKEY 7181 BEGIN
  401. \RUN
  402. \JUMP BEGIN
  403. \X HELP
  404. \ONKEY 7181
  405. \ONKEY 18688
  406. \ONKEY 20736
  407. \BLANK 0,0,320,200
  408. \LOC 0,20\WID 40\HEI 179\OVE 0
  409. \READ SMALLGRN.FON
  410. This is a demonstration of the graphics
  411.  capabilities of this program.  If you
  412.   would like to see any portions of it
  413.   again, you can get to the Airplane
  414.  section at any time by pressing the
  415.  letter "A"; the Horse section can be
  416.    reached by pressing "H", and the
  417. beginning of the demo can be reached by
  418.  pressing "D".  Also, the "return" key
  419.  will move you foward through the file,
  420. and during the viewing of the four horse
  421.   gaits, Pg Up and Pg Dn will move you
  422.  back and forth through the animations.
  423.  Press any key to start the demo over or
  424.   to go to any part as just mentioned.
  425. \MOVE 0 TO B
  426. \X LOOP
  427. \JUMP LOOP
  428. \END OF TEXT